server:
  port: 8501
mybatis-plus:
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 查看日志
feign:
  sentinel:
    enabled: true
spring:
  main:
    allow-bean-definition-overriding: true #当遇到同样名字的时候，是否允许覆盖注册
  cloud:
    sentinel:
      transport:
        dashboard: 192.168.100.100:8080
    openfeign:
      lazy-attributes-resolution: true #开启懒加载，否则启动报错
      client:
        config:
          default:
            connectTimeout: 30000
            readTimeout: 30000
            loggerLevel: basic
  data:
    redis:
      host: 192.168.100.100
      port: 6379
      database: 0
      timeout: 1800000
      password:
      jedis:
        pool:
          max-active: 20 #最大连接数
          max-wait: -1    #最大阻塞等待时间(负数表示没限制)
          max-idle: 5    #最大空闲
          min-idle: 0     #最小空闲
  datasource:
    type: com.zaxxer.hikari.HikariDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.100.100:3306/tingshu_album?serverTimezone=UTC&characterEncoding=utf8&useUnicode=true&useSSL=true
    username: root
    password: root
    hikari:
      connection-test-query: SELECT 1
      connection-timeout: 60000
      idle-timeout: 500000
      max-lifetime: 540000
      maximum-pool-size: 10
      minimum-idle: 5
      pool-name: GuliHikariPool
  jackson:
    date-format: yyyy-MM-dd HH:mm:ss
    time-zone: GMT+8
  servlet:
    multipart:
      max-file-size: 10MB     #单个文件最大限制
      max-request-size: 20MB  #多个文件最大限制
  rabbitmq:
    host: 192.168.100.100
    port: 5672
    virtual-host: /atguigu
    username: atguigu
    password: atguigu


minio:
  endpointUrl: http://192.168.100.100:9000
  accessKey: admin
  secretKey: admin123456
  bucketName: tingshu
vod:
  appId: 1342364453
  secretId: AKIDe9SXB4oLekdLq9F8oGUZTAj9MM8h3C7q
  secretKey: b1FH6i7KL9kAPSIzVr2zjFXcUAcqrfFd
  region: ap-guangzhou
  procedure: SimpleAesEncryptPreset #任务流
  tempPath: src/main/resources/voices
  playKey: wrTwwu8U3DRSRDgC8l7q  #播放加密key
